package yesjava;

import javax.swing.*;

/**
 * 演示运算
 */
public class Hello3 {
    public static void main(String[] args) {
      /*  int a = 0;
        int b = 10;
        int c = a % b;
        System.out.println(c);*/


      /*  int  a = 5;
        int  b = a++  //   a=6      b=5
                + ++a//    a=7      b=5+7
                + ++a//    a=8      b=12+8
                + a++//    a=9      b=20+8
                + ++a;//   a=10     b=28+10
        System.out.println(b); //*/

        /*int x  = 2;
        if(x>=5 && ++x<=8){
            System.out.println("OK！");
        }else{
            System.out.println("NO!");
        }
        System.out.println(x);*/


        /*int a = 85;int b = 9;int c = 36;
        int max =( (a > b ? a : b) > c ?  (a > b ? a : b) : c );
        System.out.println(max);*/

        int checkStatus = 2; // 0 未审核 1 审核通过  2 审核不通过  3.通过后驳回
        String sexStr = (checkStatus == 0 ? "未审核" : (checkStatus == 1 ? "审核通过" : (checkStatus == 2 ? "审核不通过" : (checkStatus == 3 ? "通过后驳回" : "未知"))));
        System.out.println(sexStr);

        int a = 8;
        a = a+2;
        a+=2;
        JFrame jFrame = new JFrame();
        jFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

    }
}
